Enable and configure Suricata unix command socket
authorArturo Borrero Gonzalez <arturo@debian.org>
Tue, 13 Jan 2026 18:51:26 +0000 (19:51 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Tue, 13 Jan 2026 18:51:26 +0000 (19:51 +0100)
Forwarded: not-needed
Last-Update: 2025-08-22

Gbp-Pq: Name enable-unix-command-socket.patch

suricata.yaml.in

index e6bd26d6a2a2172d4d8d965f4532b1bde376a3da..efd81513a36224a8c1e40a4528c2dd665fd49372 100644 (file)
@@ -1406,8 +1406,8 @@ host-mode: auto
 # activated in live capture mode. You can use the filename variable to set
 # the file name of the socket.
 unix-command:
-  enabled: auto
-  #filename: custom.socket
+  enabled: yes
+  filename: @e_localstatedir@/suricata-command.socket
 
 # Magic file. The extension .mgc is added to the value here.
 #magic-file: /usr/share/file/magic